package actor

//Directive 决策枚举
type Directive int

// Directive 决定该如何处理出错的actor
const (
	// ResumeDirective 恢复actor并继续处理消息
	ResumeDirective Directive = iota

	// RestartDirective TODO 执行actor重启操作
	RestartDirective

	// StopDirective 停止出错的actor
	StopDirective

	// EscalateDirective TODO 对错误的处理交给actor的父actor
	EscalateDirective
)
